package edu.ybu.manage.service;

import edu.ybu.manage.pojo.Product;

import java.util.ArrayList;
import java.util.List;

public interface ProductService {
    List<Product> selectAllProduct();
    Product selectProductById(Product product);
    Integer updateProductById(Product product);
    Integer getCount();
    List<Product> searchProductsByPage(Integer page, Integer size, Product product);
    Integer insertProduct(Product product);
    Integer deleteProduct(Product product);
    List<Product> selectAllProductByPage(Integer page, Integer size);
    int getSearchCount(Product product);
    Integer deleteProducts(List<Integer> integers);
}
